@model GottaGottaScrum.Models.WorkItem

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>WorkItem</legend>

    <div class="display-label">AreaPath</div>
    <div class="display-field">@Model.AreaPath</div>

    <div class="display-label">IterationPath</div>
    <div class="display-field">@Model.IterationPath</div>

    <div class="display-label">Revision</div>
    <div class="display-field">@Model.Revision</div>

    <div class="display-label">Priority</div>
    <div class="display-field">@Model.Priority</div>

    <div class="display-label">Severity</div>
    <div class="display-field">@Model.Severity</div>

    <div class="display-label">StackRank</div>
    <div class="display-field">@Model.StackRank</div>

    <div class="display-label">Project</div>
    <div class="display-field">@Model.Project</div>

    <div class="display-label">AssignedTo</div>
    <div class="display-field">@Model.AssignedTo</div>

    <div class="display-label">CreatedDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.CreatedDate)</div>

    <div class="display-label">CreatedBy</div>
    <div class="display-field">@Model.CreatedBy</div>

    <div class="display-label">ChangedDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.ChangedDate)</div>

    <div class="display-label">ChangedBy</div>
    <div class="display-field">@Model.ChangedBy</div>

    <div class="display-label">ResolvedBy</div>
    <div class="display-field">@Model.ResolvedBy</div>

    <div class="display-label">Title</div>
    <div class="display-field">@Model.Title</div>

    <div class="display-label">State</div>
    <div class="display-field">@Model.State</div>

    <div class="display-label">Type</div>
    <div class="display-field">@Model.Type</div>

    <div class="display-label">Reason</div>
    <div class="display-field">@Model.Reason</div>

    <div class="display-label">Description</div>
    <div class="display-field">@Model.Description</div>

    <div class="display-label">ReproSteps</div>
    <div class="display-field">@Model.ReproSteps</div>

    <div class="display-label">FoundInBuild</div>
    <div class="display-field">@Model.FoundInBuild</div>

    <div class="display-label">IntegratedInBuild</div>
    <div class="display-field">@Model.IntegratedInBuild</div>

    <div class="display-label">WebEditorUrl</div>
    <div class="display-field">@Model.WebEditorUrl</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


